﻿

function pageInit() {
    var obj = GetRequest();
    userid = obj.userid;
    token = obj.token;

    if (token) {
        $("#submit").removeClass("buttonimg");
        $("#submit").addClass("buttonimg2");
        document.getElementById("ercAddress").disabled = true;
    }
}


//校验必须是字母和数字
function checkErcForm(str) {
    return /^[\da-z]+$/i.test(str);
}


